package org.aplikator.server.function;

import org.aplikator.client.shared.data.Record;
import org.aplikator.server.Context;
import org.aplikator.server.descriptor.Function;
import org.aplikator.server.descriptor.WizardPage;

public abstract class Executable {

    protected Function function;

    public abstract FunctionResult execute(FunctionParameters parameters, Context context);


    public WizardPage getWizardPage(String currentPage, boolean forwardFlag, Record currentProcessingRecord, Record clientParameters, Context context) {
        return null;
    }

    public void setFunction(Function func){
        function = func;
    }
    
    //public Function getFunction();
}
